export function searchConfig() {
    const searchConfig = [
        {
          label: "角色名称",
          prop: "roleName",
          type: "input"
        },
        {
          label: "角色代码",
          prop: "roleCode",
          type: "input"
        }
    ]
    return searchConfig
}

export function tableConfig() {
    const tableConfig = {
        thead: [
          {
            type: "selection",
            width: 55,
            align: "center",
            fixed: 'left'
          },
          {
            label: "角色名称",
            prop: "roleName",
            align: "center",
            fixed: 'left'
          },
          {
            label: "角色代码",
            prop: "roleCode",
            align: "center"
          },
          {
            label: "角色描述",
            prop: "roleDesc",
            align: "center"
          },
          {
            label: "操作",
            type: "slot",
            slotName: "operation",
            align: "center",
            width: 300,
            fixed: 'right'
          }
        ]
    }
    return tableConfig
}

export default { searchConfig, tableConfig }